package com.lxmes.pm.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 知识产权信息对象 a_intellectual_info
 * 
 * @author zhangzhiyu
 * @date 2023-04-04
 */
public class AIntellectualInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 知识产权名称 */
    @Excel(name = "知识产权名称")
    private String intellectualName;

    /** 知识产权类型  专利/软著/其他 */
    @Excel(name = "知识产权类型  专利/软著/其他")
    private String intellectualType;

    /** 知识产权编码 */
    @Excel(name = "知识产权编码")
    private String intellectualCode;

    /** 所属单位 */
    @Excel(name = "所属单位")
    private String ownership;

    /** 统计年度 */
    @Excel(name = "统计年度")
    private String statisticsYear;

    /** 类别 */
    @Excel(name = "类别")
    private String intellectualCategroy;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 申请人 */
    @Excel(name = "申请人")
    private String applyUser;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setIntellectualName(String intellectualName) 
    {
        this.intellectualName = intellectualName;
    }

    public String getIntellectualName() 
    {
        return intellectualName;
    }
    public void setIntellectualType(String intellectualType) 
    {
        this.intellectualType = intellectualType;
    }

    public String getIntellectualType() 
    {
        return intellectualType;
    }
    public void setIntellectualCode(String intellectualCode) 
    {
        this.intellectualCode = intellectualCode;
    }

    public String getIntellectualCode() 
    {
        return intellectualCode;
    }
    public void setOwnership(String ownership) 
    {
        this.ownership = ownership;
    }

    public String getOwnership() 
    {
        return ownership;
    }
    public void setStatisticsYear(String statisticsYear) 
    {
        this.statisticsYear = statisticsYear;
    }

    public String getStatisticsYear() 
    {
        return statisticsYear;
    }
    public void setIntellectualCategroy(String intellectualCategroy) 
    {
        this.intellectualCategroy = intellectualCategroy;
    }

    public String getIntellectualCategroy() 
    {
        return intellectualCategroy;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setApplyUser(String applyUser) 
    {
        this.applyUser = applyUser;
    }

    public String getApplyUser() 
    {
        return applyUser;
    }
    public void setApplyTime(Date applyTime) 
    {
        this.applyTime = applyTime;
    }

    public Date getApplyTime() 
    {
        return applyTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("intellectualName", getIntellectualName())
            .append("intellectualType", getIntellectualType())
            .append("intellectualCode", getIntellectualCode())
            .append("ownership", getOwnership())
            .append("statisticsYear", getStatisticsYear())
            .append("intellectualCategroy", getIntellectualCategroy())
            .append("state", getState())
            .append("applyUser", getApplyUser())
            .append("applyTime", getApplyTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
